package com.my.goodsmanage.enums;

/**
 * @author 徐佳辉
 * @date 2020/8/4 21:07
 */
public enum ResponseEnum {

    SUCCESS("1",true),ERROR("0",false);

    private String msg;
    private boolean success;

    ResponseEnum(String msg, boolean success) {
        this.msg = msg;
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
}
